//package com.hanliukui.ai.langchain4j.assistant.domain.repository;
//
//import com.hanliukui.ai.langchain4j.assistant.domain.document.ChatMessageDoc;
//import jakarta.transaction.Transactional;
//import org.springframework.data.mongodb.repository.MongoRepository;
//
//public interface ChatMessagesDocRepository extends MongoRepository<ChatMessageDoc, String> {
//
//    ChatMessageDoc findByMemoryId(String memoryId);
//
//    @Transactional
//    void deleteByMemoryId(String memoryId);
//}
